﻿namespace Models
{
    /// <summary>
    /// 采购变更子表
    /// </summary>
    public class PurchaseAlterBody
    {
        /// <summary>
        /// 主键
        /// </summary>
        public decimal ID { get; set; }

        /// <summary>
        /// 主表ID
        /// </summary>
        public decimal HeadID { get; set; }

        /// <summary>
        /// 物品编号
        /// </summary>
        public string PA_ItemID { get; set; }

        /// <summary>
        /// 物品名称
        /// </summary>
        public string PA_ItemName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string PA_Specs { get; set; }

        /// <summary>
        /// 计量单位
        /// </summary>
        public string PA_Unit { get; set; }

        /// <summary>
        /// 单价（元）
        /// </summary>
        public decimal PA_Price { get; set; }

        /// <summary>
        /// 原购买数量
        /// </summary>
        public decimal PA_BuyQty { get; set; }

        /// <summary>
        /// 原税率
        /// </summary>
        public double PA_Texrate { get; set; }

        /// <summary>
        /// 原总金额
        /// </summary>
        public decimal PA_TotalCost { get; set; }

        /// <summary>
        /// 变更后数量
        /// </summary>
        public decimal PA_BuyQty_Alter { get; set; }

        /// <summary>
        /// 变更后税率
        /// </summary>
        public double PA_Texrate_Alter { get; set; }

        /// <summary>
        /// 变更后总金额
        /// </summary>
        public decimal PA_TotalCost_Alter { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }
    }
}
